﻿using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations;

namespace HomeGuardBand.Models
{
    public class Composer : IEntity
    {
        #region Constructor

        public Composer()
        {
            Compositions = new Collection<Composition>();
        }

        #endregion

        [Key]
        public int Id { get; set; }
        public bool Active { get; set; }

        public string FirstName { get; set; }
        public string LastName { get; set; }

        public virtual ICollection<Composition> Compositions { get; set; }
    }
}